package com.func.domain.activity.model.entity;

import com.func.domain.activity.model.valobj.OrderTradeTypeVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * SkuRechargeEntity
 * </p>
 *
 * @author Simon
 * @version 2025.03.11.1.0.0
 * @description  活动商品充值对象
 * @since 2025-03-11
 */

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkuRechargeEntity {
    // 用户ID
    private String userId;
    // 商品SKU - activity + activity count
    private Long sku;
    // 幂等业务单号, 外部谁充值谁传透, 这样来保证幂等
    private String outBusinessNo;
    // 订单交易的类型, 默认为不需要支付的返利订单
    private OrderTradeTypeVO orderTradeTypeVO = OrderTradeTypeVO.rebate_no_pay_trade;
}
